﻿using System;
using System.Collections.Generic;

namespace XXS.Common.BaseModel
{
    public interface ITreeBaseModel : IBaseModel
    {
        string Text { get; set; }

        string IdPath { get; set; }

        string TextPath { get; set; }

        Guid? ParentId { get; set; }
    }

    public interface ITreeBaseModel<T> : ITreeBaseModel
    {
        List<ITreeBaseModel<T>> Children { get; set; }
    }
}